import axios from '../utils/axios'
import url from './base'

export default  {
    getCategory:()=>{
        return axios.get(url.baseUrl+url.banner)
    },
    login:(params)=>{
        return axios.post(url.baseUrl+url.login,params)
    },
    channer:()=>{
        return  axios.get(url.baseUrl+url.channer)
    },
    secondlist:(id)=>{
        return axios.get(url.baseUrl+url.secondlist,{params:{
            id,
        }
            
        })
    },
   reqGoods:(id)=>{
        return axios.get(url.baseUrl+url.getGoods,{params:{
            id
        }})
   }
}